home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Imagemaster d4.adf
/
apa.lzh
/
hlp_arexx9
< prev
next >
Wrap
Text File
|
1993-08-30
|
17KB
|
722 lines
\ApAssist
\: - This is the Quick Help for the ARexx in IM R/t -
\: ----------------------------------------------------------
\: Written by David E. Patterson
\: ----------------------------------------------------------
\font topaz.font 8
\tc 1
\wr
\lj
\dd "imh_descriptor"
\index "hlp_arexx2/merge-pad"
\toc "hlp_toc/toc"
\help "aa_help/help
\node "mono"
\title "Mono"
\next "multifill"
\prev ""
\{ \tc 15 Mono \} - Changes a selected area to the monochrome equivalent B&W.
\nw
Usage - '\{ \tc 15 mono\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 mono\} ';
See Also: \{ \tc 15 \ts b \link "negmono" "negmono"\}
* User Interface: \{ \tc 11 Process Panel
Special Effects
Mono\}
\endnode
\node "multifill"
\title "Multill"
\next "negcolor"
\prev "mono"
\{ \tc 15 Multifill \} - Creates a complex gradient fill.
Creates a complex gradient fill. Uses colors set by the 'setmulti' function.
Uses the current blend settings.
\nw
Usage - '\{ \tc 15 multifill <direction>\} '
\{ \tc 15 Direction: 0 = Two way horizontal
1 = two way vertical
2 = horizontal + center
3 = vertical + center
4 = four way
5 = four way + center\}
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 multifill 5\} ';
* User Interface: \{ \tc 11 Process Panel
Special Effects
Grad Fill\}
\endnode
\node "negcolor"
\title "Negative Color"
\next "negluma"
\prev "multifill"
\{ \tc 15 Negcolor \} - Creates a color negative of a selected area.
\nw
Usage - '\{ \tc 15 negcolor\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 negcolor\} ';
* User Interface: \{ \tc 11 Process Panel
Special Effects
Color Neg\}
\endnode
\node "negluma"
\title "Negative Luma"
\next "negmono"
\prev "negcolor"
\{ \tc 15 Negluma \} - Creates a luma negative of a selected area.
\nw
Usage - '\{ \tc 15 negluma\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 negluma\} ';
See Also: \{ \tc 15 \ts b \link "luma" "hlp_arexx8/luma"\}
* User Interface: \{ \tc 11 Process Panel
Special Effects
Luma Neg\}
\endnode
\node "negmono"
\title "Negative Mono"
\next "net"
\prev "negluma"
\{ \tc 15 Negmono \} - Creates a monochrome negative of a selected area.
\nw
Usage - '\{ \tc 15 negmono\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 negmono\} ';
See Also: \{ \tc 15 \ts b \link "mono" "hlp_arexx9/mono"\}
* User Interface: \{ \tc 11 Process Panel
Special Effects
Mono Neg\}
\endnode
\node "net"
\title "3-D Net"
\next "newasprimary"
\prev "negmono"
\{ \tc 15 Net \} - Generates '3-D' net.
\nw
Usage - '\{ \tc 15 net <hortilt> <vertilt> <spacing> <effect> <blackline>
<overlay>\} '
\{ \tc 15 Horizontal Tilt: - 100 to 100
Vertical Tilt: - 100 to 100
Spacing: 1 to 200%
Effect: 0 to 100%
Black Line: 0 = no, 1 = yes
Over Lay: 0 = no, 1 = yes\}
\{ \ts bu Sample Script\} :
'area';
options results;
'askprop "Horizontal Tilt" 0 -100 100';
HT = result;
'askprop "Vertical Tilt" 0 -100 100';
VT = result;
'askprop "Spacing" 100 0 200';
spacing = result;
'askprop Effect 50 0 100';
effect = result;
'askyn "White Line" "Black Line"';
line = result;
'askyn "No Overlay" "Overlay"';
overlay = result;
options;
'\{ \tc 15 net\} ' HT VT spacing effect line overlay;
* User Interface: \{ \tc 11 Process Panel
Special Effects
3-D Net\}
\endnode
\node "newasprimary"
\title "New as primary buffer"
\next "newblend"
\prev "net"
\{ \tc 15 Newasprimary \} - Creates a new buffer as the primary buffer.
\nw
Usage - '\{ \tc 15 newasprimary <filename>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 newprimary imagefile\} ';
buffnumber = result;
options;
\endnode
\node "newblend"
\title "New Blend"
\next "newbuf"
\prev "newasprimary"
\{ \tc 15 Newblend \} - Selects a buffer as the current brush.
Makes the selected buffer the current blend.
\nw
Usage - '\{ \tc 15 newblend <buffernumber>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 newblend 4\} ';
'area';
'merge';
\endnode
\node "newbuf"
\title "New Buffer"
\next "newcurrent"
\prev "newblend"
\{ \tc 15 Newbuf \} - Creates a new buffer
\nw
Usage - '\{ \tc 15 newbuf <Xdim> <Ydim> [name] [MASK]\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 newbuf 640 400 mynewbuffer\} ';
* User Interface: \{ \tc 11 Buffer Panel
New Buffer\}
\endnode
\node "newcurrent"
\title "New Current"
\next "newsecondary"
\prev "newbuf"
\{ \tc 15 Newcurrent \} - Specifies a new current buffer.
\nw
Usage - '\{ \tc 15 newcurrent <#>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 newcurrent 3\} ';
* User Interface: \{ \tc 11 Buffer Panel
Select Primary Buffer\}
\endnode
\node "newsecondary"
\title "New Secondary"
\next "newtargetted"
\prev "newcurrent"
\{ \tc 15 Newsecondary \} - Specifies a new secondary buffer.
\nw
Usage - '\{ \tc 15 newsecondary <#>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 newsecondary 3\} ';
* User Interface: \{ \tc 11 Buffer Panel
Select Secondary Buffer\}
\endnode
\node "newtargetted"
\title "New Targetted"
\next "obuffers"
\prev "newsecondary"
\{ \tc 15 Newtargetted \} - Creates a new buffer and prompts the user for its
target.
\nw
Usage - '\{ \tc 15 newtargetted <xw> <yw> <name> [mask]\} '
\{ \tc 15 XW: - image width
YW - image height
Name: Name of new buffer
Mask: mask\}
\{ \ts bu Sample Script\} :
'\{ \tc 15 newtargetted 640 400 mynewbuff mask\} ';
\endnode
\node "obuffers"
\title "Other Buffers"
\next "oil"
\prev "newtargettede"
\{ \tc 15 Obuffers \} - Returns all buffers except the primary buffer.
\nw
Usage - '\{ \tc 15 obuffers\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 obuffers\} ';
buffs = result;
options;
parse var buffs buffname','buffnumber;
See Also: \{ \tc 15 \ts b \link "Buffers " "hlp_arexx5/buffers"
\link "Sbuffers " "hlp_arexx10/sbuffers"
\link "Current " "hlp_arexx6/current"
\link "Secondary" "hlp_arexx10/secondary"\}
\endnode
\node "oil"
\title "Oil"
\next "oval"
\prev "obuffers"
\{ \tc 15 Oil \} - Gives a selected region the appearance of an oil painting.
\nw
Usage - '\{ \tc 15 oil\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 oil\} ';
* User Interface: \{ \tc 11 Process Panel
Special Effects
Oil Brushed\}
\endnode
\node "oval"
\title "Oval"
\next "pad"
\prev "oil"
\{ \tc 15 Oval \} - Defines an elliptical mask region.
\nw
Usage - '\{ \tc 15 oval <Xcenter> <Ycenter> <Xradius> <Yradius>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 oval 60 100 165 190\} ';
'contrast 90';
\endnode
\node "pad"
\title "Pad"
\next "padcanvas"
\prev "oval"
\{ \tc 15 Pad \} - Creates a new buffer that is padded at the bottom or right.
Creates a new buffer which is padded to the right or bottom so that it will
be displayed in the correct aspect ration on the Amiga monitor.
\nw
Usage - '\{ \tc 15 pad [newname]\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 pad Padded\} ';
* User Intrerface: \{ \tc 11 Process Panel
Re-sizing and Clipping
Pad Canvas\}
\endnode
\node "padcanvas"
\title "Pad Canvas"
\next "pal"
\prev "pad"
\{ \tc 15 Padcanvas \} - Pads the selected area to a new size.
Pads a selected area to a new size returning the buffer number.
\nw
Usage - '\{ \tc 15 padcanvas <Xsize> <Ysize> <Position> <NewName>\} '
\{ \tc 15 Position: 1 = Top Left
2 = Top Center
3 = Top Right
4 = Middle Left
5 = Middle Center
6 = Middle Right
7 = Bottom Left
8 = Bottom Center
9 = Bottom Right\}
\{ \ts bu Sample Script\} :
'entire';
'\{ \tc 15 padcanvas 400 400 5 NewClip\} ';
* User Interface: \{ \tc 11 Process Panel
Re-sizing and Clipping
Pad Canvas\}
\endnode
\node "pal"
\title "Pal Modes"
\next "palette64"
\prev "padcanvas"
\{ \tc 15 Pal \} - Reports 0 for NTSC and 1 for PAL modes.
\nw
Usage - '\{ \tc 15 pal\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 pal\} ';
mode = result;
options;
\endnode
\node "palette64"
\title "Load 64 Color Palette"
\next "palettedefs"
\prev "pal"
\{ \tc 15 Palette64/Paleteext64 \} - Loads a 64 color palette.
Loads a 64 color palette file for use in HAM-E and other small palette
renders. Only the first 64 colors of IM's 256 color palette will change.
\nw
Usage - '\{ \tc 15 palette64 <filename>\} '
\{ \ts bu Sample Script\} :
options results;
'askstring "File Name:" "64colorpalettefile"'name;
name = result;
options;
'\{ \tc 15 palette64\} ' name;
See Also: \{ \ts b \tc 15 \link "blendload " "hlp_arexx5/blendload"
\link "load " "hlp_arexx8/load"
\link "loadasblend " "hlp_arexx8/loadasblend"
\link "loadasbrush " "hlp_arexx8/loadasbrush"
\link "loadasprimary " "hlp_arexx8/loadasprimary"
\link "loadassecondary" "hlp_arexx8/loadassecondary"
\link "loadimask " "hlp_arexx8/loadimask"
\link "loadmask " "hlp_arexx8/loadmask"\}
\endnode
\node "palettedefs"
\title "Palette Definitions"
\next "paletteext"
\prev "palette64"
\{ \tc 15 Palettedefs \} - Returns path and extension of a saved palette.
\nw
Usage - '\{ \tc 15 palettedefs\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 palettedefs\} ';
info = result;
parse var info path ','extension;
options;
See also: \{ \tc 15 \ts b \link "blenddefs " "hlp_arexx5/blenddefs"
\link "imagedefs " "hlp_arexx7/imagedefs"
\link "macrodefs " "hlp_arexx8/macrodefs"
\link "renderdefs" "hlp_arexx10/renderdefs"\}
\endnode
\node "paletteext"
\title "Palette Ext"
\next "paletteload"
\prev "palettedefs"
\{ \tc 15 Paletteext \} - Sets a new extension for 64 color palette files.
\nw
Usage - '\{ \tc 15 paletteext <newext>\} '
\{ \ts bu Sample Script\} :
options results;
'askstring "New Extension:" "pal"'name;
name = result;
options;
'\{ \tc 15 paletteext\} ' name;
See Also: \{ \tc 15 \ts b \link "blendext " "hlp_arexx5/blendext"
\link "imageext " "hlp_arexx7/imageext"
\link "macroext " "hlp_arexx8/macroext"
\link "renderext" "hlp_arexx10/renderext"\}
* User Interface: \{ \tc 11 Setup Panel
Palette Ext\}
\endnode
\node "paletteload"
\title "Palette Load"
\next "palettepath"
\prev "paletteext"
\{ \tc 15 Paletteload \} - Sets a new path for loading and saving palettes.
\nw
Usage - '\{ \tc 15 paletteload <name>\} '
\{ \ts bu Sample Script\} :
options results;
'askstring "File Name:" "palettefile"'name;
name = result;
options;
'\{ \tc 15 paletteload\} ' name;
See Also: \{ \tc 15 \ts b \link "blendload " "hlp_arexx5/blendload"
\link "load " "hlp_arexx8/load"
\link "loadasblend " "hlp_arexx8/loadasblend"
\link "loadasbrush " "hlp_arexx8/loadasbrush"
\link "loadasprimary " "hlp_arexx8/loadasprimary"
\link "loadassecondary" "hlp_arexx8/loadassecondary"
\link "loadimask " "hlp_arexx8/loadimask"
\link "loadmask " "hlp_arexx8/loadmask"\}
\endnode
\node "palettepath"
\title "Palette Path"
\next "pixelize"
\prev "paletteload"
\{ \tc 15 Palettepath \} - Sets a new path for loading and saving palettes.
\nw
Usage - '\{ \tc 15 palettepath <newpath>\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 palettepath work:palettes\} ';
See Also: \{ \tc 15 \ts b \link "blendpath " "hlp_arexx5/blendpath"
\link "imagepath " "hlp_arexx7/imagepath"
\link "macropath " "hlp_arexx8/macropath"
\link "renderpath " "hlp_arexx10/renderpath"\}
* User Interface: \{ \tc 11 Setup Panel
Palette Path\}
\endnode
\node "pixelize"
\title "Pixelize / Pix"
\next "plugin"
\prev "palettepath"
\{ \tc 15 Pixelize / Pix \} - Pixelizes a selected region (Pix).
\nw
Usage - '\{ \tc 15 pixelize\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 pixelize\} ';
* User Interface: \{ \tc 11 Process Panel
Special Effect
Pixelize\}
\endnode
\node "plugin"
\title "Plug in"
\next "poster"
\prev "pixelize"
\{ \tc 15 Plugin \} - Returns a single pointer in hexadecimal format.
\nw
Usage - '\{ \tc 15 plugin <buffer number> \} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 plugin\} ';
plugptr = result;
options;
'backuptoundo';
address command;
'cmpi:myfile '||plugptr;
address(prtnme);
'redraw';
See Also: \{ \tc 15 \ts b \link "Jackin" "hlp_arexx8/jackin"\}
\endnode
\node "poster"
\title "Posterize / Poster"
\next "perspect"
\prev "plugin"
\{ \tc 15 Posterize / Poster \} - Posterizes a selected region (Poster).
Contours a specific region to a particular set of number of levels that are
fitted within the dynamic range of the selected area. This effect is
similar to what you might see on a \{ \ts i hard rock \} or \{ \ts i
psychedelic \} poster.
\nw
Usage - '\{ \tc 15 posterize <levels>\} '
'\{ \tc 15 poster <levels>\} '
\{ \tc 15 Levels: 1 to 20\}
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 posterize 89\} ';
* User Interface: \{ \tc 11 Process Panel
Special Effects
Posterize\}
\endnode
\node "perspect"
\title "Perspective Placement"
\next "previousmask"
\prev "poster"
Perspective placement will place the secondary buffer image onto the primary
buffer using a 3-dimensional perspective projection.
\nw
Usage - '\{ \tc 15 perspect [Xrotn=N.n] [Yrotn=N.n] [Zrotn=N.n]
[Xtrans=N.n] [Ytrans=N.n] [Ztrans=N.n]
[Xscale=N.n] [Yscale=N.n] [Zscale=N.n]\} ';
\{ \tc 15 X Rotn : rotation about the X axis (pitch) (in degrees)
Y Rotn : rotation about the Y axis (yaw)
Z Rotn : rotation about the Z axis (roll)
X Translate : movement left and right
Y Translate : movement up and down
Z Translate : depth movement into the screen
X Scale : horizontal stretching
Y Scale : vertical stretching
Z Scale : depth stretching\}
\{ \ts bu Sample Script\} :
address('IM_Port');
'autoredraw 0';
'\{ \tc 15 perspect Xr=330 Yr=0 Zr=0 Xt=405 Yt=-240 Zt=656 Xs=300 Ys=300
Zs=100\} ';
do i=1 to 10
YR=i*36;
XT=405-i*80;
YT=-240+i*36;
' perspect Yr='||YR||' Xt='||XT||' Yt='||YT;
end
'redraw';
'finish';
* User Interface: \{ \tc 11 Compose
Special Compositions
Perspective Placement\}
\endnode
\node "previousmask"
\title "Previous Mask"
\next "pseudo"
\prev "perspect"
\{ \tc 15 Previousmask \} - Selects region based on the previous mask.
Method of area selection, enabling the user to repeatedly select the same
area.
\nw
Usage - '\{ \tc 15 previousmask\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 previousmask\} ';
'contrast 89';
See also: \{ \tc 15 \ts b \link "entire " "hlp_arexx7/entire"
\link "oval " "hlp_arexx9/oval"
\link "rect " "hlp_arexx10/rect"
\link "rectarea" "hlp_arexx10/rectarea"\}
\endnode
\node "pseudo"
\title "Pseudo"
\next ""
\prev "previousmask"
\{ \tc 15 Pseudo \} - Changes a selected region to pseudo color.
Changes the image colors based on the monochrome brightness. Transforming
dark pixels to blue (cold), medium pixels to green (warm), and bright pixels
to red (hot).
\nw
Usage - '\{ \tc 15 pseudo\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 pseudo\} ';
See Also: \{ \tc 15 \ts b \link "False" "hlp_arexx7/false"\}
* User Interface: \{ \tc 11 Process Panel
Special Effects
False Color\}
\endnode